package kr.co.pension.usr.pe.re.dao;

import java.util.List;

import kr.co.pension.usr.pe.re.vo.AddUsrVo;
import kr.co.pension.utils.BaseDao;

import org.springframework.stereotype.Repository;

@Repository
public class MailDao extends BaseDao{
	
	
	/**
	 * 자료 등록하기
	 * @param vo
	 * @return
	 */
	public int mail0102T(AddUsrVo vo){
		return (Integer) getSqlMapClientTemplate().insert("mail.mail0102T",vo);
	}
	
	
	public List mail0201C(AddUsrVo vo){
		return getSqlMapClientTemplate().queryForList("mail.mail0201C",vo);
	}

	
	public List mail0301C(String vo){
		return getSqlMapClientTemplate().queryForList("mail.mail0301C",vo);
	}
	
	

}
